package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class OutsourcingPackagedExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public OutsourcingPackagedExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public OutsourcingPackagedExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public OutsourcingPackagedExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        OutsourcingPackagedExample example = new OutsourcingPackagedExample();
        return example.createCriteria();
    }

    public OutsourcingPackagedExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public OutsourcingPackagedExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public OutsourcingPackagedExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public OutsourcingPackagedExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public OutsourcingPackagedExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOutsourcingPackagedIdIsNull() {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId is null");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdIsNotNull() {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId is not null");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdEqualTo(Integer value) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId =", value, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.OutsourcingPackagedId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdNotEqualTo(Integer value) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId <>", value, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.OutsourcingPackagedId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdGreaterThan(Integer value) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId >", value, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.OutsourcingPackagedId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId >=", value, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.OutsourcingPackagedId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdLessThan(Integer value) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId <", value, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.OutsourcingPackagedId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdLessThanOrEqualTo(Integer value) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId <=", value, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.OutsourcingPackagedId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdIn(List<Integer> values) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId in", values, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdNotIn(List<Integer> values) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId not in", values, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdBetween(Integer value1, Integer value2) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId between", value1, value2, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andOutsourcingPackagedIdNotBetween(Integer value1, Integer value2) {
            addCriterion("outsourcingpackaged.OutsourcingPackagedId not between", value1, value2, "outsourcingPackagedId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("outsourcingpackaged.`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("outsourcingpackaged.`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("outsourcingpackaged.`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("outsourcingpackaged.`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("outsourcingpackaged.`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("outsourcingpackaged.`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("outsourcingpackaged.`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("outsourcingpackaged.`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andSubNameIsNull() {
            addCriterion("outsourcingpackaged.SubName is null");
            return (Criteria) this;
        }

        public Criteria andSubNameIsNotNull() {
            addCriterion("outsourcingpackaged.SubName is not null");
            return (Criteria) this;
        }

        public Criteria andSubNameEqualTo(String value) {
            addCriterion("outsourcingpackaged.SubName =", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.SubName = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.SubName <>", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.SubName <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameGreaterThan(String value) {
            addCriterion("outsourcingpackaged.SubName >", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.SubName > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.SubName >=", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.SubName >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameLessThan(String value) {
            addCriterion("outsourcingpackaged.SubName <", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.SubName < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.SubName <=", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.SubName <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameLike(String value) {
            addCriterion("outsourcingpackaged.SubName like", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameNotLike(String value) {
            addCriterion("outsourcingpackaged.SubName not like", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameIn(List<String> values) {
            addCriterion("outsourcingpackaged.SubName in", values, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.SubName not in", values, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.SubName between", value1, value2, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.SubName not between", value1, value2, "subName");
            return (Criteria) this;
        }

        public Criteria andCounterPriceIsNull() {
            addCriterion("outsourcingpackaged.CounterPrice is null");
            return (Criteria) this;
        }

        public Criteria andCounterPriceIsNotNull() {
            addCriterion("outsourcingpackaged.CounterPrice is not null");
            return (Criteria) this;
        }

        public Criteria andCounterPriceEqualTo(BigDecimal value) {
            addCriterion("outsourcingpackaged.CounterPrice =", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CounterPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceNotEqualTo(BigDecimal value) {
            addCriterion("outsourcingpackaged.CounterPrice <>", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CounterPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceGreaterThan(BigDecimal value) {
            addCriterion("outsourcingpackaged.CounterPrice >", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CounterPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("outsourcingpackaged.CounterPrice >=", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CounterPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceLessThan(BigDecimal value) {
            addCriterion("outsourcingpackaged.CounterPrice <", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CounterPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("outsourcingpackaged.CounterPrice <=", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CounterPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceIn(List<BigDecimal> values) {
            addCriterion("outsourcingpackaged.CounterPrice in", values, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceNotIn(List<BigDecimal> values) {
            addCriterion("outsourcingpackaged.CounterPrice not in", values, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("outsourcingpackaged.CounterPrice between", value1, value2, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("outsourcingpackaged.CounterPrice not between", value1, value2, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceIsNull() {
            addCriterion("outsourcingpackaged.RetailPrice is null");
            return (Criteria) this;
        }

        public Criteria andRetailPriceIsNotNull() {
            addCriterion("outsourcingpackaged.RetailPrice is not null");
            return (Criteria) this;
        }

        public Criteria andRetailPriceEqualTo(BigDecimal value) {
            addCriterion("outsourcingpackaged.RetailPrice =", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.RetailPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceNotEqualTo(BigDecimal value) {
            addCriterion("outsourcingpackaged.RetailPrice <>", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.RetailPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceGreaterThan(BigDecimal value) {
            addCriterion("outsourcingpackaged.RetailPrice >", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.RetailPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("outsourcingpackaged.RetailPrice >=", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.RetailPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceLessThan(BigDecimal value) {
            addCriterion("outsourcingpackaged.RetailPrice <", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.RetailPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("outsourcingpackaged.RetailPrice <=", value, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.RetailPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRetailPriceIn(List<BigDecimal> values) {
            addCriterion("outsourcingpackaged.RetailPrice in", values, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceNotIn(List<BigDecimal> values) {
            addCriterion("outsourcingpackaged.RetailPrice not in", values, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("outsourcingpackaged.RetailPrice between", value1, value2, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andRetailPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("outsourcingpackaged.RetailPrice not between", value1, value2, "retailPrice");
            return (Criteria) this;
        }

        public Criteria andBuyLinkIsNull() {
            addCriterion("outsourcingpackaged.BuyLink is null");
            return (Criteria) this;
        }

        public Criteria andBuyLinkIsNotNull() {
            addCriterion("outsourcingpackaged.BuyLink is not null");
            return (Criteria) this;
        }

        public Criteria andBuyLinkEqualTo(String value) {
            addCriterion("outsourcingpackaged.BuyLink =", value, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.BuyLink = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyLinkNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.BuyLink <>", value, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.BuyLink <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyLinkGreaterThan(String value) {
            addCriterion("outsourcingpackaged.BuyLink >", value, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.BuyLink > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyLinkGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.BuyLink >=", value, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.BuyLink >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyLinkLessThan(String value) {
            addCriterion("outsourcingpackaged.BuyLink <", value, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.BuyLink < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyLinkLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.BuyLink <=", value, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.BuyLink <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyLinkLike(String value) {
            addCriterion("outsourcingpackaged.BuyLink like", value, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkNotLike(String value) {
            addCriterion("outsourcingpackaged.BuyLink not like", value, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkIn(List<String> values) {
            addCriterion("outsourcingpackaged.BuyLink in", values, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.BuyLink not in", values, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.BuyLink between", value1, value2, "buyLink");
            return (Criteria) this;
        }

        public Criteria andBuyLinkNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.BuyLink not between", value1, value2, "buyLink");
            return (Criteria) this;
        }

        public Criteria andCoverImageIsNull() {
            addCriterion("outsourcingpackaged.CoverImage is null");
            return (Criteria) this;
        }

        public Criteria andCoverImageIsNotNull() {
            addCriterion("outsourcingpackaged.CoverImage is not null");
            return (Criteria) this;
        }

        public Criteria andCoverImageEqualTo(String value) {
            addCriterion("outsourcingpackaged.CoverImage =", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CoverImage = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.CoverImage <>", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CoverImage <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThan(String value) {
            addCriterion("outsourcingpackaged.CoverImage >", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CoverImage > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.CoverImage >=", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CoverImage >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThan(String value) {
            addCriterion("outsourcingpackaged.CoverImage <", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CoverImage < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.CoverImage <=", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CoverImage <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLike(String value) {
            addCriterion("outsourcingpackaged.CoverImage like", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotLike(String value) {
            addCriterion("outsourcingpackaged.CoverImage not like", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageIn(List<String> values) {
            addCriterion("outsourcingpackaged.CoverImage in", values, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.CoverImage not in", values, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.CoverImage between", value1, value2, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.CoverImage not between", value1, value2, "coverImage");
            return (Criteria) this;
        }

        public Criteria andImagesIsNull() {
            addCriterion("outsourcingpackaged.Images is null");
            return (Criteria) this;
        }

        public Criteria andImagesIsNotNull() {
            addCriterion("outsourcingpackaged.Images is not null");
            return (Criteria) this;
        }

        public Criteria andImagesEqualTo(String value) {
            addCriterion("outsourcingpackaged.Images =", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Images = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.Images <>", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Images <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThan(String value) {
            addCriterion("outsourcingpackaged.Images >", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Images > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.Images >=", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Images >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLessThan(String value) {
            addCriterion("outsourcingpackaged.Images <", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Images < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.Images <=", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Images <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLike(String value) {
            addCriterion("outsourcingpackaged.Images like", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotLike(String value) {
            addCriterion("outsourcingpackaged.Images not like", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesIn(List<String> values) {
            addCriterion("outsourcingpackaged.Images in", values, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.Images not in", values, "images");
            return (Criteria) this;
        }

        public Criteria andImagesBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.Images between", value1, value2, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.Images not between", value1, value2, "images");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeIsNull() {
            addCriterion("outsourcingpackaged.FreightDescribe is null");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeIsNotNull() {
            addCriterion("outsourcingpackaged.FreightDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeEqualTo(String value) {
            addCriterion("outsourcingpackaged.FreightDescribe =", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.FreightDescribe = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.FreightDescribe <>", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.FreightDescribe <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeGreaterThan(String value) {
            addCriterion("outsourcingpackaged.FreightDescribe >", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.FreightDescribe > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.FreightDescribe >=", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.FreightDescribe >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLessThan(String value) {
            addCriterion("outsourcingpackaged.FreightDescribe <", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.FreightDescribe < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.FreightDescribe <=", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.FreightDescribe <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLike(String value) {
            addCriterion("outsourcingpackaged.FreightDescribe like", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotLike(String value) {
            addCriterion("outsourcingpackaged.FreightDescribe not like", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeIn(List<String> values) {
            addCriterion("outsourcingpackaged.FreightDescribe in", values, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.FreightDescribe not in", values, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.FreightDescribe between", value1, value2, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.FreightDescribe not between", value1, value2, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeIsNull() {
            addCriterion("outsourcingpackaged.ServiceDescribe is null");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeIsNotNull() {
            addCriterion("outsourcingpackaged.ServiceDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeEqualTo(String value) {
            addCriterion("outsourcingpackaged.ServiceDescribe =", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.ServiceDescribe = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.ServiceDescribe <>", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.ServiceDescribe <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeGreaterThan(String value) {
            addCriterion("outsourcingpackaged.ServiceDescribe >", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.ServiceDescribe > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.ServiceDescribe >=", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.ServiceDescribe >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLessThan(String value) {
            addCriterion("outsourcingpackaged.ServiceDescribe <", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.ServiceDescribe < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.ServiceDescribe <=", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.ServiceDescribe <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLike(String value) {
            addCriterion("outsourcingpackaged.ServiceDescribe like", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotLike(String value) {
            addCriterion("outsourcingpackaged.ServiceDescribe not like", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeIn(List<String> values) {
            addCriterion("outsourcingpackaged.ServiceDescribe in", values, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.ServiceDescribe not in", values, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.ServiceDescribe between", value1, value2, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.ServiceDescribe not between", value1, value2, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andOnlineIsNull() {
            addCriterion("outsourcingpackaged.`Online` is null");
            return (Criteria) this;
        }

        public Criteria andOnlineIsNotNull() {
            addCriterion("outsourcingpackaged.`Online` is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineEqualTo(Boolean value) {
            addCriterion("outsourcingpackaged.`Online` =", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Online` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineNotEqualTo(Boolean value) {
            addCriterion("outsourcingpackaged.`Online` <>", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Online` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThan(Boolean value) {
            addCriterion("outsourcingpackaged.`Online` >", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Online` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanOrEqualTo(Boolean value) {
            addCriterion("outsourcingpackaged.`Online` >=", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Online` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineLessThan(Boolean value) {
            addCriterion("outsourcingpackaged.`Online` <", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Online` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanOrEqualTo(Boolean value) {
            addCriterion("outsourcingpackaged.`Online` <=", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`Online` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineIn(List<Boolean> values) {
            addCriterion("outsourcingpackaged.`Online` in", values, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotIn(List<Boolean> values) {
            addCriterion("outsourcingpackaged.`Online` not in", values, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineBetween(Boolean value1, Boolean value2) {
            addCriterion("outsourcingpackaged.`Online` between", value1, value2, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotBetween(Boolean value1, Boolean value2) {
            addCriterion("outsourcingpackaged.`Online` not between", value1, value2, "online");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("outsourcingpackaged.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("outsourcingpackaged.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("outsourcingpackaged.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("outsourcingpackaged.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("outsourcingpackaged.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("outsourcingpackaged.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("outsourcingpackaged.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("outsourcingpackaged.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("outsourcingpackaged.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("outsourcingpackaged.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("outsourcingpackaged.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("outsourcingpackaged.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("outsourcingpackaged.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("outsourcingpackaged.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("outsourcingpackaged.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("outsourcingpackaged.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("outsourcingpackaged.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("outsourcingpackaged.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("outsourcingpackaged.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("outsourcingpackaged.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("outsourcingpackaged.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("outsourcingpackaged.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("outsourcingpackaged.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("outsourcingpackaged.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("outsourcingpackaged.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("outsourcingpackaged.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("outsourcingpackaged.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("outsourcingpackaged.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("outsourcingpackaged.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("outsourcingpackaged.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("outsourcingpackaged.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("outsourcingpackaged.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("outsourcingpackaged.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("outsourcingpackaged.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("outsourcingpackaged.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("outsourcingpackaged.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("outsourcingpackaged.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("outsourcingpackaged.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("outsourcingpackaged.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("outsourcingpackaged.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("outsourcingpackaged.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("outsourcingpackaged.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("outsourcingpackaged.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("outsourcingpackaged.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("outsourcingpackaged.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("outsourcingpackaged.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("outsourcingpackaged.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("outsourcingpackaged.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("outsourcingpackaged.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("outsourcingpackaged.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("outsourcingpackaged.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("outsourcingpackaged.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(OutsourcingPackaged.Column column) {
            addCriterion(new StringBuilder("outsourcingpackaged.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("outsourcingpackaged.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("outsourcingpackaged.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("outsourcingpackaged.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("outsourcingpackaged.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private OutsourcingPackagedExample example;

        protected Criteria(OutsourcingPackagedExample example) {
            super();
            this.example = example;
        }

        public OutsourcingPackagedExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(OutsourcingPackaged.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(OutsourcingPackaged.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.OutsourcingPackagedExample example);
    }
}